/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: '/system/rolemanage',
  name: 'System',
  alwaysShow: true,
  meta: {
    title: '系统管理',
    icon: 'el-icon-menu'
  },
  children: [
    {
      path: 'rolesystem',
      component: () => import('@/views/system/roleManage/index'),
      name: 'Role',
      meta: { title: '角色管理',icon:"el-icon-jiaoseguanli" }
    },
    {
      path: 'usersystem',
      component: () => import('@/views/system/userManage/index'),
      name: 'User',
      meta: { title: '人员管理',icon:"el-icon-user-solid" }
    },
    {
      path: 'menusystem',
      component: () => import('@/views/system/menuManage/index'),
      name: 'Menu',
      meta: { title: '菜单管理',icon:"el-icon-menu" }
    },
    {
      path: 'semaphoresystem',
      component: () => import('@/views/system/semaphoreManage/index'),
      name: 'Semaphore',
      meta: { title: '信号量管理',icon:"el-icon-info" }
    },
    {
      path: 'systemmodel',
      component: () => import('@/views/system/equipModelManage/index'),
      name: 'SystemModel',
      meta: { title: '设备型号管理',icon:"el-icon-set-up" }
    },
    {
      path: 'equiptype',
      component: () => import('@/views/system/equipTypeManage/index'),
      name: 'EquipType',
      meta: { title: '设备类型管理',icon:"el-icon-s-order" }
    },
    
    {
      path: 'loglevel',
      component: () => import('@/views/system/logLevelManage/index'),
      name: 'LogLevel',
      meta: { title: '日志级别',icon:"el-icon-document" }
    },
    {
      path: 'operatelog',
      component: () => import('@/views/system/operateLog'),
      name: 'OperateLog',
      meta: { title: '操作日志',icon:"el-icon-tickets" }
    },
  ]
}
export default systemRouter
